package com.twl.app.base.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.twl.common.entity.Customer;

/**
 * 员工模板
 * 
 * @author uatzhangxc
 * 
 */
@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Uemp")
@SequenceGenerator(name = "instance_sequence", sequenceName = "seq_uemp_id", allocationSize = 1)
public class Uemp extends Customer implements Serializable {

	private String card; // 身份证号
	private String staffname;// 员工姓名
	private String dept;// 部门
	private String tean; // 团队
	private String cardlevel;// 卡部等级
	private String grade;// 员工职位(0、 1、 2、 )
	private String jobsort; // 职务类别
	private String jobgrade; // 职级
	private String ismanage;// 是否管理层 1为管理层
	private String commission; // 佣金制/非佣金制
	private String dateentry;// 入职日期 20160305
	private String datedimi;// 离职日期
	private Integer umpstaff;//在职状态 0是入职 1在职 2 离职
	private String moneycount;// 基本工资
	private Integer promedeint;// 是否晋升 1是0否
	private String datepromed;// 晋升日期
	private Integer mainland;// 是否是大陆 0是 1 不是
	private String workPlace; //工作地点
	private String assailedcom;// 派遣公司
	private String hukou;// 参保属性
	private Double accumuldan;// 公积金基数
	private Double nursingdan;// 养老基数
	private Double healthdan;// 医疗基数
	private Double unempdan;// 失业基数
	private Double firmsdan;// 工伤基数
	private Double fertilitydan;// 生育基数
	private String accback;// 银行账号
	private String costcentre;// 成本中心
	private String desKey;// 密钥
	
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	
	private Integer delstaff;// 是否删除(0 否 1 是)
	private String durationdate;// 期间

	 

	public Uemp(String staffname, String grade, String dept, Integer umpstaff,
			String dateentry, String datedimi, Integer delstaff,
			String moneycount, Integer promedeint, String datepromed,
			Integer mainland, String assailedcom, String card,
			String durationdate, String tean, String commission,
			String costcentre, String hukou, String ismanage, String cardlevel,
			String jobgrade, String jobsort, Double accumuldan,
			Double nursingdan, Double healthdan, Double unempdan,
			Double firmsdan, Double fertilitydan, String accback) {
		super();
		this.staffname = staffname;
		this.grade = grade;
		this.dept = dept;
		this.umpstaff = umpstaff;
		this.dateentry = dateentry;
		this.datedimi = datedimi;
		this.delstaff = delstaff;
		this.moneycount = moneycount;
		this.promedeint = promedeint;
		this.datepromed = datepromed;
		this.mainland = mainland;
		this.assailedcom = assailedcom;
		this.card = card;
		this.durationdate = durationdate;
		this.tean = tean;
		this.commission = commission;
		this.costcentre = costcentre;
		this.hukou = hukou;
		this.ismanage = ismanage;
		this.cardlevel = cardlevel;
		this.jobgrade = jobgrade;
		this.jobsort = jobsort;
		this.accumuldan = accumuldan;
		this.nursingdan = nursingdan;
		this.healthdan = healthdan;
		this.unempdan = unempdan;
		this.firmsdan = firmsdan;
		this.fertilitydan = fertilitydan;
		this.accback = accback;
	}
	@Column(name = "accumuldan")
	public Double getAccumuldan() {
		return accumuldan;
	}

	public void setAccumuldan(Double accumuldan) {
		this.accumuldan = accumuldan;
	}
	@Column(name = "nursingdan")
	public Double getNursingdan() {
		return nursingdan;
	}

	public void setNursingdan(Double nursingdan) {
		this.nursingdan = nursingdan;
	}
	@Column(name = "healthdan")
	public Double getHealthdan() {
		return healthdan;
	}

	public void setHealthdan(Double healthdan) {
		this.healthdan = healthdan;
	}
	@Column(name = "unempdan")
	public Double getUnempdan() {
		return unempdan;
	}

	public void setUnempdan(Double unempdan) {
		this.unempdan = unempdan;
	}
	@Column(name = "firmsdan")
	public Double getFirmsdan() {
		return firmsdan;
	}

	public void setFirmsdan(Double firmsdan) {
		this.firmsdan = firmsdan;
	}
	@Column(name = "fertilitydan")
	public Double getFertilitydan() {
		return fertilitydan;
	}

	public void setFertilitydan(Double fertilitydan) {
		this.fertilitydan = fertilitydan;
	}
	@Column(name = "accback")
	public String getAccback() {
		return accback;
	}

	public void setAccback(String accback) {
		this.accback = accback;
	}

	public Uemp() {
		super();
	}

	@Column(name = "moneycount")
	public String getMoneycount() {
		return moneycount;
	}

	public void setMoneycount(String moneycount) {
		this.moneycount = moneycount;
	}

	@Column(name = "staffname")
	public String getStaffname() {
		return staffname;
	}

	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}

	@Column(name = "grade")
	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	@Column(name = "dept")
	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	@Column(name = "umpstaff")
	public Integer getUmpstaff() {
		return umpstaff;
	}

	public void setUmpstaff(Integer umpstaff) {
		this.umpstaff = umpstaff;
	}

	@Column(name = "dateentry")
	public String getDateentry() {
		return dateentry;
	}

	public void setDateentry(String dateentry) {
		this.dateentry = dateentry;
	}

	@Column(name = "datedimi")
	public String getDatedimi() {
		return datedimi;
	}

	public void setDatedimi(String datedimi) {
		this.datedimi = datedimi;
	}

	@Column(name = "delstaff")
	public Integer getDelstaff() {
		return delstaff;
	}

	public void setDelstaff(Integer delstaff) {
		this.delstaff = delstaff;
	}

	@Column(name = "promedeint")
	public Integer getPromedeint() {
		return promedeint;
	}

	public void setPromedeint(Integer promedeint) {
		this.promedeint = promedeint;
	}

	@Column(name = "datepromed")
	public String getDatepromed() {
		return datepromed;
	}

	public void setDatepromed(String datepromed) {
		this.datepromed = datepromed;
	}

	@Column(name = "mainland")
	public Integer getMainland() {
		return mainland;
	}

	public void setMainland(Integer mainland) {
		this.mainland = mainland;
	}
	
	@Column(name = "WORK_PLACE")
	public String getWorkPlace() {
		return workPlace;
	}
	public void setWorkPlace(String workPlace) {
		this.workPlace = workPlace;
	}
	@Column(name = "assailedcom")
	public String getAssailedcom() {
		return assailedcom;
	}

	public void setAssailedcom(String assailedcom) {
		this.assailedcom = assailedcom;
	}

	@Column(name = "card")
	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	@Column(name = "durationdate")
	public String getDurationdate() {
		return durationdate;
	}

	public void setDurationdate(String durationdate) {
		this.durationdate = durationdate;
	}

	@Column(name = "tean")
	public String getTean() {
		return tean;
	}

	public void setTean(String tean) {
		this.tean = tean;
	}

	@Column(name = "commission")
	public String getCommission() {
		return commission;
	}

	public void setCommission(String commission) {
		this.commission = commission;
	}

	@Column(name = "costcentre")
	public String getCostcentre() {
		return costcentre;
	}

	public void setCostcentre(String costcentre) {
		this.costcentre = costcentre;
	}

	@Column(name = "hukou")
	public String getHukou() {
		return hukou;
	}

	public void setHukou(String hukou) {
		this.hukou = hukou;
	}

	@Column(name = "ismanage")
	public String getIsmanage() {
		return ismanage;
	}

	public void setIsmanage(String ismanage) {
		this.ismanage = ismanage;
	}

	@Column(name = "cardlevel")
	public String getCardlevel() {
		return cardlevel;
	}

	public void setCardlevel(String cardlevel) {
		this.cardlevel = cardlevel;
	}

	@Column(name = "jobgrade")
	public String getJobgrade() {
		return jobgrade;
	}

	public void setJobgrade(String jobgrade) {
		this.jobgrade = jobgrade;
	}

	@Column(name = "jobsort")
	public String getJobsort() {
		return jobsort;
	}

	public void setJobsort(String jobsort) {
		this.jobsort = jobsort;
	}

}
